<template>
  <div class="k-line-chart-container">
    <slot></slot>
  </div>
</template>

<script>
export default {
  name: "ChartLayout",
  props: {
    // title: String,
  },
};
</script>
<style scoped>
.k-line-chart-container {
  display: flex;
  flex-direction: column;
  margin: 0px;
  border-radius: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  /* background-color: #ffffff; */
  width: 100%;
  height: 100%;
  padding: 16px 6px 16px 16px;
}

.k-line-chart-title {
  margin: 0;
  color: #252525;
  padding-bottom: 10px;
}

.k-line-chart {
  width: 100%;
  flex-grow: 1;
  overflow: hidden;
}
.k-line-chart-menu-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 10px;
  font-size: 12px;
  color: #606060;
}
.k-line-chart-menu-container button {
  cursor: pointer;
  background-color: #1677ff;
  border-radius: 2px;
  margin-right: 8px;
  height: 24px;
  line-height: 26px;
  padding: 0 6px;
  font-size: 12px;
  color: #fff;
  border: none;
  outline: none;
}
</style>
